﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace UricaoWeb.LogicaDeNegocios.Reservas
{
    public class TourReservacion
    {
        private int _fkReservacion;

        public int FkReservacion
        {
            get { return _fkReservacion; }
            set { _fkReservacion = value; }
        }

        private int _fkTour;

        public int FkTour
        {
            get { return _fkTour; }
            set { _fkTour = value; }
        }

        private DateTime _fechaReserva;

        public DateTime FechaReserva
        {
            get { return _fechaReserva; }
            set { _fechaReserva = value; }
        }

        private int _personasReserva;

        public int PersonasReserva
        {
            get { return _personasReserva; }
            set { _personasReserva = value; }
        }

        private float _precioTotal;

        public float PrecioTotal
        {
            get { return _precioTotal; }
            set { _precioTotal = value; }
        }


        public TourReservacion()
        {
            this.FkReservacion = 0;
            this.FkTour = 0;
            this.FechaReserva = DateTime.Now;
            this.PersonasReserva = 0;
            this.PrecioTotal = 0;

        }

        public TourReservacion(int _fkReservacion, int _fkTour, DateTime _fechaReserva, int _personasReserva, float _precioTotal)
        {
            this.FkReservacion = _fkReservacion;
            this.FkTour = _fkTour;
            this.FechaReserva = _fechaReserva;
            this.PersonasReserva = _personasReserva;
            this.PrecioTotal = _precioTotal;
        }
    }
}